package com.wanxi.chat.message.chat;

import com.wanxi.chat.dispatcher.Message;

/**
 * 发送给指定人的私聊消息 Request
 */
public class ChatSendRequest implements Message {

    public static final String TYPE = "CHAT_SEND_TO_ONE_REQUEST";

    /**
     * 接收方用户id
     */
    private String toId;
    /**
     * 发送方用户id
     */
    private String fromId;
    /**
     * 会话id
     */
    private String msgId;
    /**
     * 消息内容
     */
    private String content;

    public String getToId() {
        return toId;
    }

    public void setToId(String toId) {
        this.toId = toId;
    }

    public String getFromId() {
        return fromId;
    }

    public void setFromId(String fromId) {
        this.fromId = fromId;
    }

    public String getMsgId() {
        return msgId;
    }

    public void setMsgId(String msgId) {
        this.msgId = msgId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return "ChatSendRequest{" +
                "toId='" + toId + '\'' +
                ", fromId='" + fromId + '\'' +
                ", msgId='" + msgId + '\'' +
                ", content='" + content + '\'' +
                '}';
    }
}
